<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="Online_Users.aspx.cs" Inherits="FimetContoDeposito.admin.access.Online_Users" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <section class="panel">
	    <header class="panel-heading">
					<h2>Online Users</h2>
			</header>
			<div class="panel-tools" align="right">
				<ul class="tooltip-area">
					<li><a href="javascript:void(0)" class="btn btn-collapse" title="Collapse"><i class="fa fa-sort-amount-asc"></i></a></li>
					<li><a href="javascript:void(0)" class="btn btn-reload"  title="Reload"><i class="fa fa-retweet"></i></a></li>
					<li><a href="javascript:void(0)" class="btn btn-close" title="Close"><i class="fa fa-times"></i></a></li>
				</ul>
			</div>
			<div class="panel-body">

                <!-- PUT YOUR CONTENT HERE -->
<form id="form1" runat="server">   
    <table class="webparts">
        <tr>
            <td class="details" style="vertical-align:top">
                <br />
                <asp:GridView runat="server" ID="Users" AutoGenerateColumns="false" CssClass="table table-bordered" GridLines="none" AllowSorting="true">
                    <Columns>
	                    <asp:TemplateField>
		                    <HeaderTemplate>User Name</HeaderTemplate>
		                    <ItemTemplate>
		                    <a href="edit_user.aspx?username=<%# Eval("UserName") %>"><%# Eval("UserName") %></a>
		                    </ItemTemplate>
	                    </asp:TemplateField>
	                    <asp:BoundField DataField="email" HeaderText="Email" />
	                    <asp:BoundField DataField="comment" HeaderText="Comments" />
	                    <asp:BoundField DataField="creationdate" HeaderText="Creation Date" />
	                    <asp:BoundField DataField="lastlogindate" HeaderText="Last Login Date" />
	                    <asp:BoundField DataField="lastactivitydate" HeaderText="Last Activity Date" />
	                    <asp:BoundField DataField="isapproved" HeaderText="Is Active" />
	                    <asp:BoundField DataField="isonline" HeaderText="Is Online" />
	                    <asp:BoundField DataField="islockedout" HeaderText="Is Locked Out" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</form>

			</div>
			<footer class="panel-footer">
				<button type="submit" class="btn" data-color="#F4AD41">Submit</button>
				<button type="reset" class="btn">Cancel</button>
			</footer>
	</section>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LocaJavascript" runat="server">
    <script type="text/javascript">
        $(document).ready(function () {
            $("li:contains('Utenti Online')").addClass("active");
        });
    </script>
</asp:Content>
